<!DOCTYPE html>
<html>
<head>
    <title>购物车</title>
    <link rel="stylesheet" type="text/css" href="/css/styles.css">
    <script src="/js/cart.js" defer></script>
</head>
<body>
    <header>
        <h1>购物车</h1>
        <a href="/user">返回用户主页</a>
    </header>

    <section>
        <h2>购物车内商品</h2>
        <ul id="cart-list">
        </ul>
        <button onclick="clearCart()">清空购物车</button>
    </section>
</body>
</html>